/**
 * 基础路由
 * @type { *[] }
 */
export const constantRouterMap = [
  {
    path: '/',
    component: () => import('@/views/layouts/index'),
    redirect: '/home',
    meta: {
      title: '首页',
      keepAlive: false
    },
    children: [
      {
        path: '/home',
        name: 'Home',
        component: () => import('@/views/home/index'),
        meta: { title: '首页', keepAlive: false }
      },

      {
        path: '/rczcList',
        name: 'RczcList',
        component: () => import('@/views/home/rczcList'),
        meta: { title: '人才政策', keepAlive: false }
      },
      {
        path: '/rczcDetail',
        name: 'RczcDetail',
        component: () => import('@/views/home/rczcDetail'),
        meta: { title: '详情', keepAlive: false }
      },
      {
        path: '/dhzxList',
        name: 'DhzxList',
        component: () => import('@/views/home/dhzxList'),
        meta: { title: '大会资讯', keepAlive: false }
      },
      {
        path: '/rcapPage',
        name: 'RcapPage',
        component: () => import('@/views/home/rcapPage'),
        meta: { title: '日程安排', keepAlive: false }
      },
      {
        path: '/czznPage',
        name: 'CzznPage',
        component: () => import('@/views/home/czznPage'),
        meta: { title: '操作指南', keepAlive: false }
      },
      {
        path: '/fyzyPage',
        name: 'FyzyPage',
        component: () => import('@/views/home/fyzyPage'),
        meta: { title: '防疫指引', keepAlive: false }
      },
      {
        path: '/fyzyDetail',
        name: 'FyzyDetail',
        component: () => import('@/views/home/fyzyDetail'),
        meta: { title: '防疫手册', keepAlive: false }
      },
      {
        path: '/hqfwPage',
        name: 'HqfwPage',
        component: () => import('@/views/home/hqfwPage'),
        meta: { title: '后勤服务', keepAlive: false }
      },
      {
        path: '/personalCenter',
        name: 'PersonalCenter',
        component: () => import('@/views/personalCenter/personalCenter'),
        meta: { title: '个人中心', keepAlive: false }
      },
      {
        path: '/login',
        name: 'Login',
        component: () => import('@/views/login/login'),
        meta: { title: '登录', keepAlive: false }
      },
      {
        path: '/reg',
        name: 'Reg',
        component: () => import('@/views/login/reg'),
        meta: { title: '注册', keepAlive: false }
      },
      {
        path: '/userInfo',
        name: 'UserInfo',
        props: (route) => ({ id: route.query.id }),
        component: () => import('@/views/personalCenter/userInfo'),
        meta: { title: '参会报名', keepAlive: false }
      },
      {
        path: '/userInfoDetail',
        name: 'UserInfoDetail',
        props: (route) => ({ id: route.query.id }),
        component: () => import('@/views/personalCenter/userInfoDetail'),
        meta: { title: '参会报名', keepAlive: false }
      },
      {
        path: '/illnessReport',
        name: 'IllnessReport',
        component: () => import('@/views/personalCenter/illnessReport'),
        meta: { title: '每日健康申报', keepAlive: false }
      },
      {
        path: '/illnessReportManager',
        name: 'illnessReportManager',
        component: () => import('@/views/personalCenter/illnessReportManager'),
        meta: { title: '参会报名审核', keepAlive: false }
      },
      {
        path: '/personManager',
        name: 'PersonManager',
        component: () => import('@/views/personalCenter/personManager'),
        meta: { title: '人员管理', keepAlive: false }
      },
      {
        path: '/notifyManager',
        name: 'NotifyManager',
        component: () => import('@/views/personalCenter/notifyManager'),
        meta: { title: '消息公告', keepAlive: false }
      },
      {
        path: '/notifyDetail',
        name: 'NotifyDetail',
        component: () => import('@/views/personalCenter/notifyDetail'),
        meta: { title: '消息详情', keepAlive: false }
      },
      {
        path: '/uploadHealth',
        name: 'UploadHealth',
        component: () => import('@/views/personalCenter/uploadHealth'),
        meta: { title: '健康信息上传', keepAlive: false }
      },
      {
        path: '/lunchManager',
        name: 'LunchManager',
        component: () => import('@/views/personalCenter/lunchManager'),
        meta: { title: '午餐管理', keepAlive: false }
      },
      {
        path: '/hotelInfo',
        name: 'HotelInfo',
        component: () => import('@/views/personalCenter/hotelInfo'),
        meta: { title: '酒店及用餐信息查阅', keepAlive: false }
      },
      {
        path: '/addUser',
        name: 'AddUser',
        component: () => import('@/views/personalCenter/addUser'),
        meta: { title: '添加参会人员', keepAlive: false }
      },
      {
        path: '/orderFood',
        name: 'OrderFood',
        component: () => import('@/views/personalCenter/orderFood'),
        meta: { title: '每日午餐申报', keepAlive: false }
      },
      {
        path: '/kbmsPage',
        name: 'KbmsPage',
        component: () => import('@/views/personalCenter/kbmsPage'),
        meta: { title: '开/闭幕式手册', keepAlive: false }
      },
      {
        path: '/404',
        name: '404',
        component: () => import('@/views/404')
      }
    ]
  }
]
